<template>
    <div>
        <svg class="icon">  
            <use v-bind:xlink:href="'#' + name"/>
        </svg>
    </div>
</template>

<script>
    export default {
        props:['name'],
        name:'Icon'
    }
</script>

<style lang="scss" scoped>
    .icon {
        width: 24px;
        height: 24px;
    }
</style>